package com.zb.app.mapper;


import com.github.pagehelper.Page;
import com.zb.model.dto.user.AuthDTO;
import com.zb.model.pojo.user.ApUserRealname;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ApUserRealnameMapper {
    Page<ApUserRealname> pageList(AuthDTO dto);

    @Select("select * from ap_user_realname where id = #{id}")
    ApUserRealname findById(Integer id);

    void update(ApUserRealname apUserRealname);

    @Select("select * from ap_user_realname where id = #{id}")
    ApUserRealname getById(Integer id);
}
